#include <catch2/catch.hpp>

#include "solution.hpp"

using namespace solution_060;

TEST_CASE("060_permutation_sequence", "[060]") {
    CHECK(Solution().getPermutation(3, 3) == "213");
    CHECK(Solution().getPermutation(4, 9) == "2314");
    CHECK(Solution().getPermutation(3, 1) == "123");
    CHECK(Solution().getPermutation(1, 1) == "1");
}
